package com.yzf.bean;

import com.hzl.UserInfoBean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by dell on 2016/1/20.
 */
public class GroupBean implements Serializable{
    public GroupBean(long id, String name, ArrayList<UserInfoBean> personList, boolean checked) {
        this.id = id;
        this.name = name;
        this.personList = personList;
        this.checked = checked;
    }

    private long id;
    private String name;
    private ArrayList<UserInfoBean> personList;
    private boolean checked;

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }


    public GroupBean(){}

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ArrayList<UserInfoBean> getPersonList() {
        return personList;
    }

    public void setPersonList(ArrayList<UserInfoBean> personList) {
        this.personList = personList;
    }

    @Override
    public String toString() {
        return "GroupBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", personList=" + personList +
                '}';
    }
}
